if posthide is "yes" then show card field "posthide"
else hide card field "posthide"
put "This is the entrance to the captain's chamber. There are "& "doorways to the north, south, and west." into field "info"
if posthide is "" then
put " If only you "& "could get in! The officer blocking the doorway eyes you "& "suspiciously. " after word 17 of field "info"
end if
global position
put "guard post" into position
pass opencard
end opencard
-- part 5 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=294 top=110 right=218 bottom=355
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: doorway
----- HyperTalk script -----
on mouseUp
global objectname
put "doorway" into objectname
global gdoors
put "n" into gdoors
visual effect zoom open
go card "guard room door"
end mouseUp
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=307 top=148 right=229 bottom=342
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: guard
----- HyperTalk script -----
on mouseUp
global objectname
put "guard" into objectname
visual effect zoom open
go to card "post"
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=314 top=125 right=148 bottom=334
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: guard
----- HyperTalk script -----
on mouseUp
global objectname
put "guard" into objectname
visual effect zoom open
go to card "post"
end mouseUp
-- part 4 (field)
-- low flags: 81
-- high flags: 0001
-- rect: left=302 top=120 right=235 bottom=351
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: posthide
----- HyperTalk script -----
on mouseup
send "mouseup" to card button "doorway"
end mouseup
-- part contents for background part 18
----- text -----
Guard Post
-- part contents for background part 6
----- text -----
This is the entrance to the captain's chamber. There are doorways to the north, south, and west. If only you could get in! The officer blocking the doorway eyes you suspiciously.